# Makefile.in for kaffeh - kaffe native code stub generator.
#
# Copyright (c) 1996 Systems Architecture Research Centre,
#		   City University, London, UK.
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# Written by Tim Wilkinson <tim@sarc.city.ac.uk>, February 1996.

VPATH=		@srcdir@
srcdir=		@srcdir@
prefix=		@prefix@
exec_prefix=	@exec_prefix@
bindir=		@bindir@
INSTALL=	@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
CC=		@CC@
CFLAGS=		@CFLAGS@ -I$(srcdir)
LDFLAGS=	@LDFLAGS@
LIBS=		@LIBS@

OBJECT=\
		readClass.o \
		constants.o \
		sigs.o \
		main.o

all:		kaffeh

kaffeh:		$(OBJECT)
		$(CC) $(LDFLAGS) -o kaffeh $(OBJECT) $(LIBS)

clean:
		rm -f kaffeh kaffeh.core $(OBJECT)

distclean:	clean
		rm -f config.log config.status Makefile

install:
		-mkdir -p $(bindir)
		$(INSTALL_PROGRAM) kaffeh $(bindir)/kaffeh
